package com.crm.custinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 备忘录对象 cust_notice_info
 * 
 * @author ruoyi
 * @date 2024-01-12
 */
public class CustNoticeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 备忘id */
    private Long id;

    /** 备忘客户编号 */
    @Excel(name = "备忘客户编号")
    private Long noticeCustId;

    /** 备忘内容 */
    @Excel(name = "备忘内容")
    private String noticeContent;

    /** 提醒时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提醒时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date noticeTime;

    /** 0-未推送 1-已推送 */
    @Excel(name = "0-未推送 1-已推送")
    private String status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String noticeEmpNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNoticeCustId(Long noticeCustId) 
    {
        this.noticeCustId = noticeCustId;
    }

    public Long getNoticeCustId() 
    {
        return noticeCustId;
    }
    public void setNoticeContent(String noticeContent) 
    {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent() 
    {
        return noticeContent;
    }
    public void setNoticeTime(Date noticeTime) 
    {
        this.noticeTime = noticeTime;
    }

    public Date getNoticeTime() 
    {
        return noticeTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setNoticeEmpNo(String noticeEmpNo) 
    {
        this.noticeEmpNo = noticeEmpNo;
    }

    public String getNoticeEmpNo() 
    {
        return noticeEmpNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("noticeCustId", getNoticeCustId())
            .append("noticeContent", getNoticeContent())
            .append("noticeTime", getNoticeTime())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("status", getStatus())
            .append("noticeEmpNo", getNoticeEmpNo())
            .toString();
    }
}
